package applications.libraryForm.fc.lib;

import applications.libraryForm.fc.api.Author;
import applications.libraryForm.fc.api.Book;
import applications.libraryForm.fc.api.CodeBook;

public class BookImpl implements Book{

	private String ISBN;
	private String title;
	private Author author;
	private int exemplaryNumberAvailable;
	private CodeBook codeBook;



	public BookImpl() {
		super();
		System.out.println("BookImpl created!!");

	}



	public BookImpl(String iSBN, String title, Author author,
			int exemplaryNumberAvailable, CodeBook codeBook) {
		super();
		ISBN = iSBN;
		this.title = title;
		this.author = author;
		this.exemplaryNumberAvailable = exemplaryNumberAvailable;
		this.codeBook = codeBook;
	}



	@Override
	public Author getAuthor() {
		// TODO Auto-generated method stub
		return this.author;
	}


	@Override
	public int getExemplaryNumberAvailable() {
		// TODO Auto-generated method stub
		return this.exemplaryNumberAvailable;
	}


	@Override
	public String getISBN() {
		// TODO Auto-generated method stub
		return this.ISBN;
	}


	@Override
	public String getTitle() {
		// TODO Auto-generated method stub
		return this.title;
	}





	@Override
	public CodeBook getCodeBook() {
		// TODO Auto-generated method stub
		return this.codeBook;
	}







}
